﻿@model MvcApplication6.Models.ChangePasswordModel

@{
    ViewBag.Title = "Change Password";
}

<link href="../../Content/css/nn-styles.css" rel="stylesheet" type="text/css"/>

@{
    if (@ViewBag.success == "NOT")
   {
      <script type="text/javascript">
          alert("Login false..... ");
      </script>
   }
}

<a style="margin-left:127px;margin-top:5px;" href="http://aptechpro.vn/"><b>Trang chủ</b></a>    

@using (Html.BeginForm()) {
    @Html.ValidationSummary()

    <fieldset>
        <legend>Change Password Form</legend>
        <ol>
            <li>
                @Html.LabelFor(m => m.Name)
                @Html.TextBoxFor(m => m.Name)
                @Html.ValidationMessageFor(m => m.Name)                
            </li>
            <li>
                @Html.LabelFor(m => m.OldPassword)
                @Html.PasswordFor(m => m.OldPassword) 
                @Html.ValidationMessageFor(m => m.OldPassword)                     
            </li>
            <li>
                @Html.LabelFor(m => m.NewPassword)
                @Html.PasswordFor(m => m.NewPassword)
                @Html.ValidationMessageFor(m => m.NewPassword)                      
            </li>
            <li>
                @Html.LabelFor(m => m.ConfirmPassword)
                @Html.PasswordFor(m => m.ConfirmPassword)  
                @Html.ValidationMessageFor(m => m.ConfirmPassword)                    
            </li>
        </ol>
        <input type="submit" value="Change password" />
    </fieldset>
}